@import "_variables.less";

#toolbar-frame#toolbar-frame {
  #toolbar,
  .dijitSelect:not(.dijitHover),
  .dijitToolbar .dijitSelect:not(.dijitHover) .dijitButtonContents,
  .dijitToolbar .dijitSelect:not(.dijitHover) .dijitButtonNode {
    background-color: transparent;
  }

  #toolbar {
    padding: 6px 0;
    color: @faded-text;

    > .dijitButton {
      // wrapper for show/hide feeds
      margin: 0;
    }

    .icon-syndicate {
      border: none;
      color: @default-text;
    }
    #toolbar-headlines .left,
    > .material-icons {
      position: relative;
      top: -2px;
      padding-left: 1px;
    }
    #updates-available {
      padding-right: 0;
    }
    .feed_title {
      color: @default-text;
      font-size: 14px;
      font-weight: bold;

      > * {
        vertical-align: middle;
      }
    }
    .cancel_search {
      padding-left: 10px;
      color: transparent;
      font-size: 12px;
      font-weight: normal;
      vertical-align: baseline;
    }
    #feed_current_unread {
      min-width: unset;
      padding: 0 6px;
      border-radius: 99px;
      border-color: transparent;
      background-color: @color-fade8;
      color: @default-bg;
      font-size: 12px;
    }
    #selected_prompt {
      font-style: normal;
    }
    > .dijitButton {
      .dijitButtonNode {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: @feeds-toggle-width;
        padding: 0;
        transition: background-position 0.1s;
        border: 0;
        border-radius: 0;
        background: linear-gradient(to right, @color-fade2, @color-fade0) -30px 0
          no-repeat;
        box-shadow: none;
      }
      .dijitButtonContents {
        position: absolute;
        top: 37px + (@headline-height / 2);
        left: 50%;
        width: 16px;
        height: 16px;
        margin-left: -8px;
        padding: 0;
        overflow: hidden;
        transition: opacity 0.2s;
        opacity: 0.22;
        text-indent: 101%;

        &::before {
          content: "";
          position: absolute;
          top: 0;
          right: 0;
          left: 0;
          height: 3px;
          background-color: @default-fg;
          box-shadow: 0 6px 0 @default-fg, 0 12px 0 @default-fg;
        }
      }
      &:hover .dijitButtonNode {
        background-position: 0 0;
      }
      &:hover .dijitButtonContents {
        opacity: 0.75;
      }
    }
  }
}
